import axios from '@/utils/request'
// import store from '@/store'

// 获取=首页列表
export const getArticleList = params => axios({
  url: '/v1_1/articles',
  params
})
// 文章-不感兴趣
export const dislike = data => axios({
  url: '/v1_0/article/dislikes',
  method: 'post',

  //   headers: {
  //     Authorization: 'Bearer ' + store.state.token
  //   },
  data
})
// 文章-举报
export const reports = data => axios({
  url: '/v1_0/article/reports',
  method: 'post',

  //   headers: {
  //     Authorization: 'Bearer ' + store.state.token
  //   },
  data
})
// 频道-已选
export const userChannel = () => axios({
  url: '/v1_0/user/channels'

})
// 频道-全选
export const allChannel = () => axios({
  url: '/v1_0/channels'

})
